﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model
{
    [Table("RightInfo")]
    public class RightModel
    {
        /// <summary>
        /// 权益id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 权益名称
        /// </summary>
        public string  Name { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; } = 1;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;





    }
}
